<template>
  <div class="order">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="id" label="序号" align="center">
      </el-table-column>
      <el-table-column prop="ordernum" label="订单编号" align="center">
      </el-table-column>
      <el-table-column prop="phone" label="发单者" align="center">
      </el-table-column>
      <el-table-column prop="data" label="订单详情" align="center">
      </el-table-column>
      <el-table-column prop="status" label="状态" align="center">
      </el-table-column>
      <el-table-column prop="runningstatus" label="运行状态" align="center">
      </el-table-column>
      <el-table-column prop="exception" label="上报异常" align="center">
      </el-table-column>
      <el-table-column prop="exceptionback" label="异常回报" align="center">
      </el-table-column>
      <el-table-column prop="type" label="游戏类型" align="center">
      </el-table-column>

    </el-table>

  </div>
</template>
<script>
import {orderlist} from '@/api/api.js';

export default {
  data() {
    return {
      tableData: []

    }
  },
  created() {
    this.getData();
  },
  methods: {
    getData(params) {
      orderlist(params)
          .then(res => {
            console.log(res.data);
            this.tableData = res.data.data
          })
    }

  }
}
</script>
<style lang="scss" scoped>
.order {

  margin-top: 20px;
}
</style>